import { createStore } from "vuex";

const store=createStore({
    state:{
        count:0,
        title:"这是store存储的数据"
    },
    mutations:{
        increment(state){
            state.count++
        }
    },
    actions:{

    }
})

export default store;